package kt_one.async

import kotlin.concurrent.thread

fun main() {

    println("start thread1")
    val thread1 = thread {
        println("sleep 1s")
        Thread.sleep(1000)
        println("hello1")
    }

    println("start thread2")
    val thread2 = thread {
        println("sleep 1s")
        Thread.sleep(1000)
        println("hello2")
    }
}